package com.nathan.crm.dao;

import com.nathan.base.BaseMapper;
import com.nathan.crm.model.TreeModel;
import com.nathan.crm.vo.Module;

import java.util.List;

public interface ModuleMapper extends BaseMapper<Module,Integer> {

    // 查询所有的模块以zTree的格式存储
    List<TreeModel> queryAllModules();

}